package com.rightsidetech.activity.mapper;

import com.rightsidetech.activity.dto.request.MtActivityBaseInfoFindReq;
import com.rightsidetech.activity.dto.response.MtActivityBaseInfoPageResp;
import com.rightsidetech.activity.entity.MtActivityBaseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MtActivityBaseInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(MtActivityBaseInfo record);

    int insertSelective(MtActivityBaseInfo record);

    MtActivityBaseInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MtActivityBaseInfo record);

    int updateByPrimaryKey(MtActivityBaseInfo record);

    int updateByPrimaryKey2(MtActivityBaseInfo record);

    MtActivityBaseInfo selectByBaseName(@Param("baseName") String baseName);

    List<MtActivityBaseInfoPageResp> selectList(MtActivityBaseInfoFindReq req);
}